package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.GraphicPreferentialDAO;
import top.zywork.dos.GraphicPreferentialDO;
import top.zywork.dto.GraphicPreferentialDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.GraphicPreferentialService;

import javax.annotation.PostConstruct;

/**
 * GraphicPreferentialServiceImpl服务接口实现类<br/>
 *
 * 创建于2020-12-02<br/>
 *
 * @author http://ljyanimo.com 刘金泳
 * @version 1.0
 */
@Service(value = "graphicPreferentialService")
public class GraphicPreferentialServiceImpl extends AbstractBaseService implements GraphicPreferentialService {

    private GraphicPreferentialDAO graphicPreferentialDAO;

    @Autowired
    public void setGraphicPreferentialDAO(GraphicPreferentialDAO graphicPreferentialDAO) {
        super.setBaseDAO(graphicPreferentialDAO);
        this.graphicPreferentialDAO = graphicPreferentialDAO;
    }

    @PostConstruct
    public void init() {
        super.init(GraphicPreferentialDO.class, GraphicPreferentialDTO.class);
    }
}